{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Lab 0: Getting Started with Python for ECE 314" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This is the first half of Lab 1 for * ECE 314 Probability in Engineering Lab. * We post it in case you would like to learn a bit about Python in advance of taking the course. At this point in your academic careers you should have some knowledge of object oriented computer programming. It would certainly help if you've had experience with Python, but if not, have no fear. Python is a very intuitive programming language. If you've coded in C#, JAVA, or Matlab you should have no trouble learning Python. Before we get too far into the code, we present a few general notions of what the environment will look like." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## IPython Notebook:" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "\t
\n", "\t\t\n", "\t\t\tThe computer you are using to read this file probably has installed on it the Jupyter Notebook App or similar application to read IPython version 4 notebooks. We also assume the notebooks are run using Python version 2.7XX rather than version 3.4XX. For more information on installation or using an engineering work station (EWS) Linux machine, see instructions on the course webpage. An IPython Notebook file (with extension .ipynb) is an accumulation of cells, each composed of either code or markdown (i.e., text). Each code cell is individually executable. Each markdown cell can contain (among many things) LaTex and HTML. Throughout each lab you will be shown examples of code, probability theory, and coding applications. *You will need to be able modify this file to include your own answers and edits. Each of the questions is numbered in bold and we ask that you put all your responses/code in cells just after the stated questions. Let's go over some of the basics:
\n", "\t\t